<?php
/*
# ------------------------------------------------------------------------
# JA Job Board Package
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
# Author: JoomlArt.com
# Websites: http://www.joomlart.com - http://www.joomlancers.com.
# ------------------------------------------------------------------------
*/

class JobBoardControllerJAPosts extends JobBoardController {
/**
     * Constructor
     */
    function __construct()
    {    	
        parent::__construct();       
    }
    
    /**
    * Display current jasalary of the component to administrator
    * 
    */
    function display(){  
    	$user = JFactory::getUser();
        if ($user->id==0)
        {
        	$this->setRedirect(JRoute::_("index.php?option=com_user&view=login"));
        	return ;
        }	
    	checkPermission('payment');   	
		parent::display();
    }	   
}